﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Master_Page/Master_Popup.Master" CodeBehind="Group_Popup.aspx.vb" Inherits="I_PORT.Group_Popup" 
    title="IRPC INTELLIGENT PORT SERVICE" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" language="javascript">
function checkNumber(e)
{
var keycode;

if (window.event) keycode = window.event.keyCode; // ใช้ IE อ่ะ

else if (e) keycode = e.which; // ใช้ Firefox เน่าะ

 if (((keycode > 47) && (keycode < 58))||(keycode == 190)||(keycode == 46))
 {
 return true;
 }
return false;
}

</script>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <table width="100%" border="0" cellpadding="2" cellspacing="0">
       <tr>
         <td style="width:20%;" align="right"><asp:Label ID="Label2" runat="server" SkinID="lbtxt" Text="ท่าเรือ :"></asp:Label>&nbsp;</td>
         <td align="left">
               <asp:RadioButtonList ID="radioPort" runat="server" SkinID="raio" RepeatDirection="Horizontal">
                    <asp:ListItem Value="B">Bulk</asp:ListItem>
                    <asp:ListItem Value="L">Liquid</asp:ListItem>
                 </asp:RadioButtonList>
         </td>
       </tr>
       <tr>
         <td style="width:20%;" align="right"><asp:Label ID="Label1" runat="server" SkinID="lbtxt" Text="Product Group :"></asp:Label>&nbsp;</td>
         <td align="left">
             <asp:TextBox ID="txtGroup" runat="server" MaxLength="200"></asp:TextBox>
         </td>
       </tr>
        <tr>
         <td style="width:20%;" align="right"><asp:Label ID="lbPath" runat="server" SkinID="lbtxt" Text="Standard Time :"></asp:Label>&nbsp;</td>
         <td align="left"><asp:TextBox ID="txtTime" runat="server" Text="0" onkeypress="return checkNumber(this);" ></asp:TextBox>&nbsp;<asp:Label ID="lbUnit" runat="server" SkinID="lbtxt" Text="MT/Day" ></asp:Label>&nbsp;&nbsp;<asp:Label ID="Label3" runat="server" SkinID="lbtxt" Text="กรณีเป็นท่า Liquid ให้ใส่ 0"></asp:Label></td>
       </tr>
       <tr>
         <td style="width:20%;" align="right">&nbsp;</td>
         <td align="left">
               <asp:Button ID="btnSave" runat="server" Text="บันทึก" CssClass="ButtonStyle" />
               <asp:Button ID="btnCancel" runat="server" Text="ยกเลิก" CssClass="ButtonStyle" />
         </td>
       </tr>
     </table>
     </ContentTemplate>
 </asp:UpdatePanel>
</asp:Content>